package com.example.administrator.x3picturetransliteration;


import com.example.administrator.x3picturetransliteration.Bean.AppDataBean;
import com.example.administrator.x3picturetransliteration.Bean.UserDataBean;

/**
 * 2018/12/19.
 */

public final class Constants {

    private static Constants mConstants = new Constants();

    public static Constants getConstants(){

        return mConstants;
    }

    private String BaseUrl = "http://47.111.181.223:8089/"; //ip地址

    private String Token = ""; //公共token

    private boolean ToastJudge = false; //异常toast显示

    private String Abnormal = "网络错误"; //异常同意显示提示

    private String appId = "wx09b6937d3b37d74a"; //微信appid

    private String channelCode = "XIAOMI"; //渠道编号

    private UserDataBean mUserDataBean; //用户信息

    private AppDataBean mAppDataBean; //app信息


    public String getBaseUrl() {
        return BaseUrl;
    }

    public void setBaseUrl(String url){

        this.BaseUrl = url;
    }

    public String getToken() {
        return Token;
    }

    public void setToken(String token) {
        Token = token;
    }

    public boolean isToastJudge() {
        return ToastJudge;
    }

    public void setToastJudge(boolean toastJudge) {
        ToastJudge = toastJudge;
    }

    public String getAbnormal() {
        return Abnormal;
    }

    public void setAbnormal(String abnormal) {
        Abnormal = abnormal;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public UserDataBean getmUserDataBean() {
        return mUserDataBean;
    }

    public void setmUserDataBean(UserDataBean mUserDataBean) {
        this.mUserDataBean = mUserDataBean;
    }

    public AppDataBean getmAppDataBean() {
        return mAppDataBean;
    }

    public void setmAppDataBean(AppDataBean mAppDataBean) {
        this.mAppDataBean = mAppDataBean;
    }
}
